package com.sy.bean.message;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("商品规格")
public class GoodsSpec {
    @ApiModelProperty("规格id")
    Integer id;

    @ApiModelProperty("颜色")
    String color;

    @ApiModelProperty("套餐")
    String packages;

    @ApiModelProperty("图片")
    String picture;

    @ApiModelProperty("规格编码")
    String specCode;

    @ApiModelProperty("零售价")
    Double price;

    @ApiModelProperty("成本价")
    Double costPrice;

    @ApiModelProperty("划线价")
    Double dashPrice;

    @ApiModelProperty("库存")
    Integer stock;

    @ApiModelProperty("库存预警值")
    Integer forewarn;

    @ApiModelProperty("重量")
    Double weight;

    @ApiModelProperty("销量")
    Integer sales;

    @ApiModelProperty("商品id")
    Integer goodsId;
}
